package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 访客记录表
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Visitors对象", description="访客记录表")
public class Visitors implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    private Integer userId;

    @ApiModelProperty(value = "来源信息")
    private String origin;

    @ApiModelProperty(value = "用户信息")
    private String user;

    @ApiModelProperty(value = "商户信息")
    private String tenant;

    @ApiModelProperty(value = "微信授权信息")
    private String wechat;

    @ApiModelProperty(value = "性别")
    private String wechatSex;

    @ApiModelProperty(value = "ip")
    private String ip;

    @ApiModelProperty(value = "国家")
    private String country;

    @ApiModelProperty(value = "省")
    private String province;

    @ApiModelProperty(value = "市")
    private String city;

    @ApiModelProperty(value = "访问页面")
    private String page;

    @ApiModelProperty(value = "用户端信息")
    private String client;

    @ApiModelProperty(value = "设备信息")
    private String device;

    @ApiModelProperty(value = "设备系统信息")
    private String platform;

    @ApiModelProperty(value = "浏览器信息")
    private String browser;

    @ApiModelProperty(value = "是否被转发邀请而来")
    private String shareBy;

    private String app;

    @ApiModelProperty(value = "用户端类型")
    private String clientType;

    @ApiModelProperty(value = "访问时间")
    private Date visitAt;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;

    @ApiModelProperty(value = "设备标记id")
    private Integer deviceId;

    @ApiModelProperty(value = "其它设备信息")
    private String deviceInfo;


}
